[index]

Stop Command

Syntax

stop <movie | path | sound | timer> Applies to movies, paths, sounds, timers

Description

For movies, the stop command halts the playback of a movie and blanks the movie image. For paths, the stop command halts the currently executing animation. Animation cannot be resumed from this point, but must be restarted from the beginning. For sounds, the stop command stops the playback of the sound.

Examples

on mouseUp if the isPlaying of movie 1 is true then stop movie 1 end if end mouseUp Create a button and name it "Play". Put the following handler into the script of the button: on mouseUp prepare mov 1 play mov 1 end mouseUp Create a timer object and place the following handler into the script: on timerExpired beep on mouseDown start timer 1 expire in 10 seconds end mouseDown on mouseDown stop timer 1 end mouseDown
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.